package com.yhq.spring.spring.service;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

/**
 * @author hqyin
 * @date 2023/4/18 2:31 下午
 */
//@Component
@Slf4j
@Data
public class FruitService {
    private String name;
    private String price;

    public void show() {
        log.info("{}价格{}",name,price);
    }
}
